package com.apache.design.util;

import com.apache.info.entity.PubSortInfo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class DesignEntity implements Serializable {

	private String packPath;//包路径
	private String projectName;//项目称
	private String sysEname;//系统标识
	private String filePath;//存入根路径
	private List<PubSortInfo> tabs;//表列表
	private Map<String,Object> param;//其他参数

	private boolean isCreateAction = true;//是否生成action

	public String getPackPath() {
		return packPath;
	}

	public void setPackPath(String packPath) {
		this.packPath = packPath;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getSysEname() {
		return sysEname;
	}

	public void setSysEname(String sysEname) {
		this.sysEname = sysEname;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public List<PubSortInfo> getTabs() {
		return tabs;
	}

	public void setTabs(List<PubSortInfo> tabs) {
		this.tabs = tabs;
	}

	public Map<String, Object> getParam() {
		return param;
	}

	public String getParam(String key) {
		return String.valueOf(param.get(key));
	}

	public void setParam(Map<String, Object> param) {
		this.param = param;
	}

	public void setParam(String key,Object value) {
		this.param.put(key,value);
	}

	public boolean isCreateAction() {
		return isCreateAction;
	}

	public void setCreateAction(boolean createAction) {
		isCreateAction = createAction;
	}
}
